package com.hq.door.pojo;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;


/**
 * AbstractTRecords entity provides the base persistence definition of the TRecords entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass

public abstract class AbstractTRecords  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String cardNo;
     private Integer inoutType;
     private Timestamp createTime;
     private Integer isException;


    // Constructors

    /** default constructor */
    public AbstractTRecords() {
    }

	/** minimal constructor */
    public AbstractTRecords(String cardNo) {
        this.cardNo = cardNo;
    }
    
    /** full constructor */
    public AbstractTRecords(String cardNo, Integer inoutType, Timestamp createTime, Integer isException) {
        this.cardNo = cardNo;
        this.inoutType = inoutType;
        this.createTime = createTime;
        this.isException = isException;
    }

   
    // Property accessors
    @Id @GeneratedValue
    
    @Column(name="id", unique=true, nullable=false)

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    @Column(name="card_no", nullable=false, length=100)

    public String getCardNo() {
        return this.cardNo;
    }
    
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
    
    @Column(name="inout_type")

    public Integer getInoutType() {
        return this.inoutType;
    }
    
    public void setInoutType(Integer inoutType) {
        this.inoutType = inoutType;
    }
    
    @Column(name="create_time", length=19)

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    
    @Column(name="is_exception")

    public Integer getIsException() {
        return this.isException;
    }
    
    public void setIsException(Integer isException) {
        this.isException = isException;
    }
   








}